{~dim key,prikey}
<form action="__URL__&a=insert" method="post">
<table border="1" cellspacing="1">
{~ prikey = $prikey}
{foreach key as $item in $fields}
{if key<>$prikey}
<tr>
<th>{$item}</th>
<td><input type="text" name="{$item}" value="" /></td>
</tr>
{/if}
{/foreach}
<tr>
<td colspan="2" align="center"><input type="submit" name="submit" value="提交"></td>
</tr>
</table>
</form>
<p> <a href="__URL__&a=listSheet">返回</a></p>